<?php

namespace Common\Model;

/**
 * 链接 模型
 *
 * @author BoBo
 *        
 */
class LinkModel extends CommModel {
	
		/**
	 * 删除一条或一组数据[假删除]
	 *
	 * @param $idList id列表
	 * @return string
	 */
	public function commRemove($idList) {
		$return = returnArray ();
		$condition ['id'] = array ( 'in', $idList );
		$result = $this->where($condition)->delete ();
		if ($result !== false) {
			$return ['info'] = '操作成功!';
		} else {
			$return ['status'] = '0';
			$return ['info'] = '操作失败!';
		}
		return $return;
	}
}